package com.me.modules.sla.service;

import com.me.modules.sla.entity.SlaAlertDefEntity;

import java.util.List;
import java.util.Map;

/**
 * 服务级别协议告警策略定义
 *
 * @author lill
 * @email lill5270@163.com
 * @date 2019-01-11 10:09:38
 */
public interface SlaAlertDefService {

	SlaAlertDefEntity queryObject(Long id);

	List<SlaAlertDefEntity> queryList(Map<String, Object> map);

    List<SlaAlertDefEntity> queryListByBean(SlaAlertDefEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(SlaAlertDefEntity slaAlertDef);

	int update(SlaAlertDefEntity slaAlertDef);

	int delete(Long id);

	int deleteBatch(Long[] ids);
}
